TOGEOMVIEW

Section: User Commands (1)
Updated: 21 May 1993
Index Return to Main Contents
 

NAME

togeomview - send commands or OOGL objects to geomview  

SYNOPSIS

togeomview [-c] [-g] [pipename [program args ...]]  

DESCRIPTION

togeomview sends a stream of geomview commands, or OOGL-format geometric data, to a cooperating copy of geomview. If geomview is not running, it is automatically started.

Typical usage is:

someprogram | togeomview    or
someprogram-generating-OOGL-data | togeomview -g 
i.e. a program pipes geometric data into ``stuff''; the data is displayed by a copy of geomview run with the -M option and a name matching the one given to stuff.

Togeomview uses a named pipe (on the Iris) or a UNIX-domain socket (on the NeXT) to communicate with geomview. In either case, the connection is created in the directory /tmp/geomview. The pipe's default name is "Mathematica", though this can be overridden. A geomview object with the same name as the  

FILES

/tmp/geomview  

BUGS

The pipe-based communications scheme imposes several restrictions.

If no copy of geomview is reading from the pipe, or if geomview gets far enough behind, a program writing data to ``stuff'' will be forced to block after sending a few kilobytes.

Because of the buffering in the pipe, the sender may be substantially ahead of the geomview display.

If geomview exits, the sending program receives a write-on-broken-pipe (SIGPIPE) signal, which will kill it unless measures are taken to catch or ignore that signal.

Only one copy of geomview can read from a given pipe at a time. If a second copy attempts to read from it, both will probably fail.  

SEE ALSO

geomview(1), oogl(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 19:01:15 GMT, May 28, 2022